package com.cooper.vo;

import java.util.List;

import com.google.common.collect.Lists;

public class LocationVo extends BaseVo {

	private static final long serialVersionUID = 6830153627016700830L;

	private String name;
	private String zipCode;
	private Long parentId;
	private String leaf;
	private Integer level;
	private Integer sortNo;
	private String enUs;
	private String zhCn;
	
	private List<LocationVo> childLocationList = Lists.newArrayList();
	private List<DisplayPicConfigVo> displayPicConfigList = Lists.newArrayList();

	public void addChild(LocationVo locationVo){
		this.childLocationList.add(locationVo);
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getLeaf() {
		return leaf;
	}

	public void setLeaf(String leaf) {
		this.leaf = leaf;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public List<LocationVo> getChildLocationList() {
		return childLocationList;
	}

	public void setChildLocationList(List<LocationVo> childLocationList) {
		this.childLocationList = childLocationList;
	}

	public String getEnUs() {
		return enUs;
	}

	public void setEnUs(String enUs) {
		this.enUs = enUs;
	}

	public String getZhCn() {
		return zhCn;
	}

	public void setZhCn(String zhCn) {
		this.zhCn = zhCn;
	}

	public List<DisplayPicConfigVo> getDisplayPicConfigList() {
		return displayPicConfigList;
	}

	public void setDisplayPicConfigList(
			List<DisplayPicConfigVo> displayPicConfigList) {
		this.displayPicConfigList = displayPicConfigList;
	}
	
}
